package com.warrior.superdata.mysql.entity.dto;

import lombok.Data;

import javax.validation.Valid;
import java.util.List;

/**
 * @Description:
 * @ClassName: com.warrior.wisdom.machine.room.mysql.entity.dto.ApiInfoDetailDto.java
 * @date: 2022/2/23 13:56
 * @author xujian
 */
@Data
public class ApiInfoDetailDto extends ApiInfoDto {

    @Valid
    private List<ApiParamDto> params;

    //@Valid
    //@NotEmpty(message = "返回字段不能为空")
    private List<ApiResultDto> results;

    private List<ApiTableRelationDto> tableRelations;

    private ApiDatasourceDto datasourceDto;

    private ApiCustomizeSqlDto apiCustomizeSqlDto;

}
